<template>
  <div class="rePaymentResult">
    <van-nav-bar title="还款结果" :left-arrow="false" right-text="完成" @click-right="onClickRight" />
    <div class="content-wapper">
      <div class="success-wapper">
        <div class="icon-wapper" type="success">
          <van-icon name="success" color="#fff" size="0.2rem" />
        </div>
        <div class="text">还款成功</div>
      </div>
      <div class="groups">
        <van-button round type="default">再还一笔</van-button>
        <van-button round type="danger">设置自动还款</van-button>
      </div>
      <!-- <div class="recommend-wapper"></div> -->
    </div>
  </div>
</template>

<script>
export default {
  name: "rePaymentResult",
  components: {},
  data() {
    return {};
  },
  methods: {
    onClickRight() {
      this.$router.push("/repayment");
    }
  }
};
</script>

<style lang='less' scoped>
.rePaymentResult {
  height: 100vh;
  background-color: #f7f7f7;
  .content-wapper {
    width: 100%;
    padding: 0.15rem 0.18rem 0rem 0.18rem;
    box-sizing: border-box;
    .success-wapper {
      // display: flex;
      height: 0.8rem;
      .icon-wapper {
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto;
        width: 0.4rem;
        height: 0.4rem;
        border-radius: 50%;
        background-color: #22b06f;
      }
      .text {
        margin-top: 0.08rem;
        text-align: center;
        font-size: 0.16rem;
      }
    }
    .groups {
      margin-top: 0.25rem;
      .van-button {
        width: 1.5rem;
        height: 0.45rem;
        &:first-child {
          margin-right: 0.15rem;
        }
        &:last-child {
          margin-left: 0.15rem;
        }
      }
    }
    .recommend-wapper {
      width: 100%;
      height: 1.5rem;
      margin-top: 0.2rem;
      background-color: #fff;
      border-radius: 0.05rem;
    }
  }
}
</style>
